package com.yami.shop.bean.param;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author Yami
 */
@Data
public class PayTopParam {

    @Schema(description = "商品id")
    private Long prodId;

    @Schema(description = "店铺名称")
    private String shopName;

    @Schema(description = "商品名称")
    private String prodName;

    @JsonSerialize(using = ImgJsonSerializer.class)
    @Schema(description = "商品主图")
    private String pic;

    @Schema(description = "支付金额")
    private Double payAmount;

    @Schema(description = "支付数量")
    private Double payCount;
}
